<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ShopNC后台管理系统</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<smart>include file ='sys_head_config.html'</smart>
<script>
$(function(){
	$(".shop_name").editable("#", { 
		indicator : "保存中...",
		 id   : 'id',
		 name : 'shop_name',
		 submit : "保存" ,
		 tooltip : '点击修改，修改好之后回车保存，点击外部则取消修改。'
	});
})
</script>
</head>
<body>
<div id="ceng"> <smart>include file ='sys_header.html'</smart>
  <div id="main" style="height:auto">
    <div id="welcome">
      <p>欢迎您进入ShopNC后台管理系统！</p>
　　　　
通过后台管理系统，您可以轻松管理商铺相关、查询信息,ShopNC为您打造方便、快捷的后台管理系统！       </div>
    <em>后台管理系统</em>
    <div id="main-left">
      <div id="product-help" style="background-image:none; height:auto; margin-top:0px; padding:20px">
        <form action="shop.manage.php" method="get" style="line-height:25px; margin-bottom:20px">
    店　　名：
      <input name="txtShopName" type="text" id="txtShopName" value="<smart>$shop_text_shopname</smart>" />
    分类：<smart>$shop_select_category</smart><br />经营范围：
    <input name="txtSaleRange" type="text" id="txtSaleRange" value="<smart>$shop_text_salerange</smart>" />
    <input type="submit" name="Submit" value="提交" />
  </form>  <smart>$shop_page</smart>今日 昨日 三日 本周 当月 本季 更长
  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" style="margin-top:10px">
    <tr>
      <th width="50" height="30" align="center" valign="middle" bgcolor="#DBE6DE">店标</th>
      <th width="150" height="30" align="center" valign="middle" bgcolor="#DBE6DE">店名</th>
      <th width="156" height="30" align="center" valign="middle" bgcolor="#DBE6DE">店主</th>
      <th width="156" height="30" align="center" valign="middle" bgcolor="#DBE6DE">分类</th>
      <th width="156" height="30" align="center" valign="middle" bgcolor="#DBE6DE">经营范围</th>
      <th width="270" height="30" align="center" valign="middle" bgcolor="#DBE6DE">开店时间</th>
      <th width="156" height="30" align="center" valign="middle" bgcolor="#DBE6DE">状态</th>
      <th width="154" height="30" align="center" valign="middle" bgcolor="#DBE6DE">操作</th>
    </tr><tbody>
    <smart> section name=i loop=$shop_array </smart>
    <tr>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="../<smart> $shop_array[i].shop_pic </smart>" width="50" height="50" /></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="#" class="shop_name"><smart> $shop_array[i].shop_name </smart></a></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $shop_array[i].login_name </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $shop_array[i].class_name </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $shop_array[i].sale_range </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><span class="fonttime"><smart> $shop_array[i].practice_time|date_format:"%Y-%m-%d %H:%M" </smart></span></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $shop_array[i].open_state </smart></td>
      <td align="center" valign="middle" bgcolor="#FFFFFF"><smart>if $shop_array[i].ischeck eq 0 </smart><a href="shop.manage.php?action=check&shopid=<smart> $shop_array[i].shop_id </smart>&check=1">通过</a><smart>else</smart><a href="shop.manage.php?action=check&shopid=<smart> $shop_array[i].shop_id </smart>&check=0">关闭</a><smart>/if</smart> <a href="shop.manage.php?action=show&shopid=<smart> $shop_array[i].shop_id </smart>">查看</a> </td>
    </tr>
    <smart> /section </smart></tbody>
  </table>
  <smart>$shop_page</smart>  
      </div>
    </div>
    <smart>include file ='sys_right_help.html'</smart>
    <div style="clear:both"></div>
  </div>
 <smart>include file ='sys_footer.html'</smart> 
</div>
</body>
</html>
